package net.lcheng.service.impl;

import net.lcheng.dao.BannerMapper;
import net.lcheng.model.Banner;
import net.lcheng.service.BannerService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by zwr on 2016/8/31.
 */
@Service
public class BannerServiceImpl implements BannerService {
    @Resource
    private BannerMapper mapper;
    @Override
    public List<Banner> getBannerList() {
        List<Banner> list = mapper.getBannerListStatus();
        return list;
    }
}
